function myInstanceof(obj, Fn){
    let prototype = Fn.prototype;
    let proto = obj.__proto__;
    while(proto){
        if(proto === prototype){
            return true;
        }

        proto = proto.__proto__;
    }
    return false;
}